package top.kaoshanji.p2ch08b;

import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
import top.kaoshanji.u1ch08b.Author;

/**
 * 代码清单-p2ch08b-274页b：注解类型的使用示例
 * author kaoshanji
 * ^_^
 * create time 2025/1/23 16:58
 */
@Author(name = "Alex", email = "alex@example.org")
public class MyClass1 {

    private static final Logger logger = LogManager.getLogger(MyClass1.class);

    public String say() {
        logger.info("...say1...");
        return "Hello1";
    }

}
